package com.ningxia.water.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *
 * @author hz
 * @since 2021-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = { "handler" })
@Accessors(chain = true)
public class TsLicenseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用水户id，与用水户基本信息表关联
     */
    private Integer applicantId;

    /**
     * 许可证编号
     */
    private String license;

    /**
     * 许可证起始日期
     */
    private String startTime;

    /**
     * 用水户一年的许可水量
     */
    private Double licenseVolume;

    /**
     * 是否可用
     */
    private Integer available;

    /**
     * 所属部门id
     */
    private Integer departmentId;

}
